﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZY.EntityFrameWork.Core.Model.Entity.Authen
{
    public class Permission:BaseEntity
    {
        //public int Id {get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public bool Enabled { get; set; }

        //public virtual Module Module { get; set; }
        public virtual ICollection<RoleModule> ModulePermissions { get; set; }
    }
}
